package com.genius.reservation.guardPerson.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 警卫人员表
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("guard_person_information")
@ApiModel(value = "GuardPersonInformation对象", description = "警卫人员表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuardPersonInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("警卫编号")
    private String guardPersonNumber;

    @ApiModelProperty("警卫名称")
    private String guardPersonName;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @TableField(value = "user_number")
    private String userNumber;

}
